<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="edu.tfb.users.*" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <body>
        <table border="1">
            <tr><th>ID</th><th>Username</th><th>FirstName</th><th>LastName</th><th>E-mail</th></tr>
            <%
            for(int i=0;i<UserStore.store.size();i++){
            User korisnik = UserStore.store.get(i);
            out.println("<tr>");
            out.println("<td>"+korisnik.getId()+"</td>");
            out.println("<td>"+korisnik.getUsername()+"</td>");
            out.println("<td>"+korisnik.getFirstName()+"</td>");
            out.println("<td>"+korisnik.getLastName()+"</td>");
            out.println("<td>"+korisnik.getEmail()+"</td>");
            out.println("</tr>");
            }
            %>
        </table>
    </body>
</html>